#ifndef UI_MAIN_H
#define UI_MAIN_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDockWidget>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QLCDNumber>
#include <QtGui/QLabel>
#include <QtGui/QMainWindow>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <QtGui/QProgressBar>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QStatusBar>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "selectedthreadlistwidget.h"
#include "threadstablewidget.h"

class Ui_MainWindow
{
public:
    QAction *actionGive_me_some_Help;
    QAction *actionAbout;
    QAction *action_Quit;
    QAction *action_Open_main_scenario;
    QAction *action_Edit;
    QAction *action_Start;
    QAction *action_Open;
    QAction *action_Force_Hangup;
    QAction *action_Quit_and_terminate_threads;
    QAction *action_Quit_Kill;
    QAction *action_Save_History;
    QAction *action_Save_All_Histories;
    QWidget *centralwidget;
    QGridLayout *gridLayout;
    QHBoxLayout *hboxLayout;
    QLabel *label;
    QSpacerItem *spacerItem;
    QPushButton *pushButtonStart;
    QPushButton *pushButtonForceHangup;
    ThreadsTableWidget *threadsTableWidget;
    QMenuBar *menubar;
    QMenu *menuFile;
    QMenu *menuHelp;
    QMenu *menuConfiguration;
    QStatusBar *statusbar;
    QDockWidget *dockWidget;
    QWidget *dockWidgetContents;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout1;
    QPushButton *pushButtonSaveSelected;
    QSpacerItem *spacerItem1;
    QPushButton *pushButtonSaveAll;
    SelectedThreadListWidget *selectedThreadListWidget;
    QDockWidget *dockWidget_2;
    QWidget *dockWidgetStats;
    QGridLayout *gridLayout1;
    QLabel *label_2;
    QLabel *label_simulCalls;
    QLCDNumber *lcdNumber_simulCalls;
    QLCDNumber *lcdNumber_startedCalls;
    QLCDNumber *lcdNumber_badEndedCalls;
    QLabel *label_startedCalls;
    QLabel *label_3;
    QProgressBar *progressBar_percGoodCalls;

    void setupUi(QMainWindow *MainWindow)
    {
    MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
    MainWindow->resize(QSize(753, 460).expandedTo(MainWindow->minimumSizeHint()));
    actionGive_me_some_Help = new QAction(MainWindow);
    actionGive_me_some_Help->setObjectName(QString::fromUtf8("actionGive_me_some_Help"));
    actionAbout = new QAction(MainWindow);
    actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
    action_Quit = new QAction(MainWindow);
    action_Quit->setObjectName(QString::fromUtf8("action_Quit"));
    action_Open_main_scenario = new QAction(MainWindow);
    action_Open_main_scenario->setObjectName(QString::fromUtf8("action_Open_main_scenario"));
    action_Edit = new QAction(MainWindow);
    action_Edit->setObjectName(QString::fromUtf8("action_Edit"));
    action_Start = new QAction(MainWindow);
    action_Start->setObjectName(QString::fromUtf8("action_Start"));
    action_Open = new QAction(MainWindow);
    action_Open->setObjectName(QString::fromUtf8("action_Open"));
    action_Force_Hangup = new QAction(MainWindow);
    action_Force_Hangup->setObjectName(QString::fromUtf8("action_Force_Hangup"));
    action_Quit_and_terminate_threads = new QAction(MainWindow);
    action_Quit_and_terminate_threads->setObjectName(QString::fromUtf8("action_Quit_and_terminate_threads"));
    action_Quit_Kill = new QAction(MainWindow);
    action_Quit_Kill->setObjectName(QString::fromUtf8("action_Quit_Kill"));
    action_Save_History = new QAction(MainWindow);
    action_Save_History->setObjectName(QString::fromUtf8("action_Save_History"));
    action_Save_All_Histories = new QAction(MainWindow);
    action_Save_All_Histories->setObjectName(QString::fromUtf8("action_Save_All_Histories"));
    centralwidget = new QWidget(MainWindow);
    centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
    gridLayout = new QGridLayout(centralwidget);
    gridLayout->setSpacing(6);
    gridLayout->setMargin(9);
    gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
    hboxLayout = new QHBoxLayout();
    hboxLayout->setSpacing(6);
    hboxLayout->setMargin(0);
    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
    label = new QLabel(centralwidget);
    label->setObjectName(QString::fromUtf8("label"));
    label->setMaximumSize(QSize(1677215, 20));

    hboxLayout->addWidget(label);

    spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

    hboxLayout->addItem(spacerItem);

    pushButtonStart = new QPushButton(centralwidget);
    pushButtonStart->setObjectName(QString::fromUtf8("pushButtonStart"));

    hboxLayout->addWidget(pushButtonStart);

    pushButtonForceHangup = new QPushButton(centralwidget);
    pushButtonForceHangup->setObjectName(QString::fromUtf8("pushButtonForceHangup"));

    hboxLayout->addWidget(pushButtonForceHangup);


    gridLayout->addLayout(hboxLayout, 0, 0, 1, 1);

    threadsTableWidget = new ThreadsTableWidget(centralwidget);
    threadsTableWidget->setObjectName(QString::fromUtf8("threadsTableWidget"));
    threadsTableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
    threadsTableWidget->setAlternatingRowColors(true);
    threadsTableWidget->setSelectionMode(QAbstractItemView::SingleSelection);
    threadsTableWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
    threadsTableWidget->setGridStyle(Qt::DotLine);
    threadsTableWidget->setColumnCount(3);

    gridLayout->addWidget(threadsTableWidget, 1, 0, 1, 1);

    MainWindow->setCentralWidget(centralwidget);
    menubar = new QMenuBar(MainWindow);
    menubar->setObjectName(QString::fromUtf8("menubar"));
    menubar->setGeometry(QRect(0, 0, 753, 26));
    menuFile = new QMenu(menubar);
    menuFile->setObjectName(QString::fromUtf8("menuFile"));
    menuHelp = new QMenu(menubar);
    menuHelp->setObjectName(QString::fromUtf8("menuHelp"));
    menuConfiguration = new QMenu(menubar);
    menuConfiguration->setObjectName(QString::fromUtf8("menuConfiguration"));
    MainWindow->setMenuBar(menubar);
    statusbar = new QStatusBar(MainWindow);
    statusbar->setObjectName(QString::fromUtf8("statusbar"));
    statusbar->setGeometry(QRect(0, 441, 753, 19));
    MainWindow->setStatusBar(statusbar);
    dockWidget = new QDockWidget(MainWindow);
    dockWidget->setObjectName(QString::fromUtf8("dockWidget"));
    dockWidget->setMinimumSize(QSize(200, 70));
    dockWidget->setFeatures(QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable|QDockWidget::NoDockWidgetFeatures);
    dockWidget->setAllowedAreas(Qt::AllDockWidgetAreas);
    dockWidgetContents = new QWidget(dockWidget);
    dockWidgetContents->setObjectName(QString::fromUtf8("dockWidgetContents"));
    vboxLayout = new QVBoxLayout(dockWidgetContents);
    vboxLayout->setSpacing(6);
    vboxLayout->setMargin(9);
    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
    hboxLayout1 = new QHBoxLayout();
    hboxLayout1->setSpacing(6);
    hboxLayout1->setMargin(0);
    hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
    pushButtonSaveSelected = new QPushButton(dockWidgetContents);
    pushButtonSaveSelected->setObjectName(QString::fromUtf8("pushButtonSaveSelected"));

    hboxLayout1->addWidget(pushButtonSaveSelected);

    spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

    hboxLayout1->addItem(spacerItem1);

    pushButtonSaveAll = new QPushButton(dockWidgetContents);
    pushButtonSaveAll->setObjectName(QString::fromUtf8("pushButtonSaveAll"));

    hboxLayout1->addWidget(pushButtonSaveAll);


    vboxLayout->addLayout(hboxLayout1);

    selectedThreadListWidget = new SelectedThreadListWidget(dockWidgetContents);
    selectedThreadListWidget->setObjectName(QString::fromUtf8("selectedThreadListWidget"));
    selectedThreadListWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);

    vboxLayout->addWidget(selectedThreadListWidget);

    dockWidget->setWidget(dockWidgetContents);
    MainWindow->addDockWidget(static_cast<Qt::DockWidgetArea>(2), dockWidget);
    dockWidget_2 = new QDockWidget(MainWindow);
    dockWidget_2->setObjectName(QString::fromUtf8("dockWidget_2"));
    dockWidget_2->setMinimumSize(QSize(16, 70));
    dockWidget_2->setFeatures(QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable|QDockWidget::NoDockWidgetFeatures);
    dockWidgetStats = new QWidget(dockWidget_2);
    dockWidgetStats->setObjectName(QString::fromUtf8("dockWidgetStats"));
    gridLayout1 = new QGridLayout(dockWidgetStats);
    gridLayout1->setSpacing(6);
    gridLayout1->setMargin(9);
    gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
    label_2 = new QLabel(dockWidgetStats);
    label_2->setObjectName(QString::fromUtf8("label_2"));

    gridLayout1->addWidget(label_2, 3, 0, 1, 1);

    label_simulCalls = new QLabel(dockWidgetStats);
    label_simulCalls->setObjectName(QString::fromUtf8("label_simulCalls"));

    gridLayout1->addWidget(label_simulCalls, 0, 0, 1, 1);

    lcdNumber_simulCalls = new QLCDNumber(dockWidgetStats);
    lcdNumber_simulCalls->setObjectName(QString::fromUtf8("lcdNumber_simulCalls"));
    lcdNumber_simulCalls->setMinimumSize(QSize(0, 18));

    gridLayout1->addWidget(lcdNumber_simulCalls, 0, 1, 1, 1);

    lcdNumber_startedCalls = new QLCDNumber(dockWidgetStats);
    lcdNumber_startedCalls->setObjectName(QString::fromUtf8("lcdNumber_startedCalls"));
    lcdNumber_startedCalls->setMinimumSize(QSize(0, 18));

    gridLayout1->addWidget(lcdNumber_startedCalls, 1, 1, 1, 1);

    lcdNumber_badEndedCalls = new QLCDNumber(dockWidgetStats);
    lcdNumber_badEndedCalls->setObjectName(QString::fromUtf8("lcdNumber_badEndedCalls"));
    lcdNumber_badEndedCalls->setMinimumSize(QSize(0, 18));

    gridLayout1->addWidget(lcdNumber_badEndedCalls, 2, 1, 1, 1);

    label_startedCalls = new QLabel(dockWidgetStats);
    label_startedCalls->setObjectName(QString::fromUtf8("label_startedCalls"));

    gridLayout1->addWidget(label_startedCalls, 1, 0, 1, 1);

    label_3 = new QLabel(dockWidgetStats);
    label_3->setObjectName(QString::fromUtf8("label_3"));

    gridLayout1->addWidget(label_3, 2, 0, 1, 1);

    progressBar_percGoodCalls = new QProgressBar(dockWidgetStats);
    progressBar_percGoodCalls->setObjectName(QString::fromUtf8("progressBar_percGoodCalls"));
    progressBar_percGoodCalls->setMinimumSize(QSize(0, 18));
    progressBar_percGoodCalls->setOrientation(Qt::Horizontal);

    gridLayout1->addWidget(progressBar_percGoodCalls, 3, 1, 1, 1);

    dockWidget_2->setWidget(dockWidgetStats);
    MainWindow->addDockWidget(static_cast<Qt::DockWidgetArea>(2), dockWidget_2);

    menubar->addAction(menuFile->menuAction());
    menubar->addAction(menuConfiguration->menuAction());
    menubar->addAction(menuHelp->menuAction());
    menuFile->addSeparator();
    menuFile->addAction(action_Quit_and_terminate_threads);
    menuFile->addAction(action_Quit_Kill);
    menuHelp->addAction(actionGive_me_some_Help);
    menuHelp->addAction(actionAbout);
    menuConfiguration->addAction(action_Open);
    menuConfiguration->addAction(action_Start);
    menuConfiguration->addAction(action_Force_Hangup);
    menuConfiguration->addSeparator();
    menuConfiguration->addAction(action_Edit);
    retranslateUi(MainWindow);
    QObject::connect(pushButtonStart, SIGNAL(clicked()), action_Start, SLOT(trigger()));
    QObject::connect(pushButtonForceHangup, SIGNAL(clicked()), action_Force_Hangup, SLOT(trigger()));
    QObject::connect(pushButtonSaveSelected, SIGNAL(clicked()), action_Save_History, SLOT(trigger()));
    QObject::connect(pushButtonSaveAll, SIGNAL(clicked()), action_Save_All_Histories, SLOT(trigger()));

    QMetaObject::connectSlotsByName(MainWindow);
    } // setupUi

    void retranslateUi(QMainWindow *MainWindow)
    {
    MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Oxsipgen", 0, QApplication::UnicodeUTF8));
    actionGive_me_some_Help->setText(QApplication::translate("MainWindow", "Give me some &Help", 0, QApplication::UnicodeUTF8));
    actionAbout->setText(QApplication::translate("MainWindow", "&About", 0, QApplication::UnicodeUTF8));
    action_Quit->setText(QApplication::translate("MainWindow", "&Quit", 0, QApplication::UnicodeUTF8));
    action_Open_main_scenario->setText(QApplication::translate("MainWindow", "&Open Scenario", 0, QApplication::UnicodeUTF8));
    action_Edit->setText(QApplication::translate("MainWindow", "&Edit", 0, QApplication::UnicodeUTF8));
    action_Start->setText(QApplication::translate("MainWindow", "&Start", 0, QApplication::UnicodeUTF8));
    action_Open->setText(QApplication::translate("MainWindow", "&Open", 0, QApplication::UnicodeUTF8));
    action_Force_Hangup->setText(QApplication::translate("MainWindow", "&Force Hangup", 0, QApplication::UnicodeUTF8));
    action_Quit_and_terminate_threads->setText(QApplication::translate("MainWindow", "&Quit and terminate threads", 0, QApplication::UnicodeUTF8));
    action_Quit_Kill->setText(QApplication::translate("MainWindow", "Quit'n'&Kill", 0, QApplication::UnicodeUTF8));
    action_Save_History->setText(QApplication::translate("MainWindow", "Save History", 0, QApplication::UnicodeUTF8));
    action_Save_All_Histories->setText(QApplication::translate("MainWindow", "Save All Histories", 0, QApplication::UnicodeUTF8));
    label->setText(QApplication::translate("MainWindow", "Running Threads", 0, QApplication::UnicodeUTF8));
    pushButtonStart->setText(QApplication::translate("MainWindow", "Start", 0, QApplication::UnicodeUTF8));
    pushButtonForceHangup->setText(QApplication::translate("MainWindow", "Force Hangup", 0, QApplication::UnicodeUTF8));
    threadsTableWidget->clear();
    threadsTableWidget->setColumnCount(3);

    QTableWidgetItem *__colItem = new QTableWidgetItem();
    __colItem->setText(QApplication::translate("MainWindow", "Status", 0, QApplication::UnicodeUTF8));
    threadsTableWidget->setHorizontalHeaderItem(0, __colItem);

    QTableWidgetItem *__colItem1 = new QTableWidgetItem();
    __colItem1->setText(QApplication::translate("MainWindow", "Repeat", 0, QApplication::UnicodeUTF8));
    threadsTableWidget->setHorizontalHeaderItem(1, __colItem1);

    QTableWidgetItem *__colItem2 = new QTableWidgetItem();
    __colItem2->setText(QApplication::translate("MainWindow", "Scene filename", 0, QApplication::UnicodeUTF8));
    threadsTableWidget->setHorizontalHeaderItem(2, __colItem2);
    threadsTableWidget->setRowCount(0);
    menuFile->setTitle(QApplication::translate("MainWindow", "&Quit", 0, QApplication::UnicodeUTF8));
    menuHelp->setTitle(QApplication::translate("MainWindow", "&Help", 0, QApplication::UnicodeUTF8));
    menuConfiguration->setTitle(QApplication::translate("MainWindow", "&Scenario", 0, QApplication::UnicodeUTF8));
    dockWidget->setWindowTitle(QApplication::translate("MainWindow", "History of Selected Thread ", 0, QApplication::UnicodeUTF8));
    pushButtonSaveSelected->setText(QApplication::translate("MainWindow", "Save this History", 0, QApplication::UnicodeUTF8));
    pushButtonSaveAll->setText(QApplication::translate("MainWindow", "Save all Histories", 0, QApplication::UnicodeUTF8));
    dockWidget_2->setWindowTitle(QApplication::translate("MainWindow", "Statistics", 0, QApplication::UnicodeUTF8));
    label_2->setText(QApplication::translate("MainWindow", "Percentage of good calls :", 0, QApplication::UnicodeUTF8));
    label_simulCalls->setText(QApplication::translate("MainWindow", "Number of simultanious calls :", 0, QApplication::UnicodeUTF8));
    label_startedCalls->setText(QApplication::translate("MainWindow", "Number of started calls :", 0, QApplication::UnicodeUTF8));
    label_3->setText(QApplication::translate("MainWindow", "Number of bad ended calls :", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class MainWindow: public Ui_MainWindow {};
} // namespace Ui

#endif // UI_MAIN_H
